#!/usr/bin/env python
# -*- coding:utf-8 -*-
# @FileName  :nine_nine_17.py
# @Time      :2020/6/22 11:55
# @Author    :Administrator

row = 9

for cur_row in range(1,row+1):
    for cur_col in range(1,cur_row+1):
        print('{0}x{1}={2}'.format(cur_col,cur_row,cur_col*cur_row),end='   ')
    print('')

# print('\n'.join(' '.join("%dx%d=%-2d" % (x, y, x*y) for x in range(1, y+1)) for y in range(1, 10)))